package language;

import java.util.BitSet;

public class BitSetTest {
    public static void main(String[] args) {
        BitSet bits = new BitSet(64);
        bits.set(3, true);  // start from 0, auto expand if set bigger than 64,use long as low-level storage
        BitSet bits2 = new BitSet(65);
        System.out.println(bits);
    }
}
